import Vue from 'vue'
export default {
  state: {
    // 图片下载服务器地址
    imageServer:'',
    // 可显示的商品分类数据
    prodCates:[]
  },

  mutations: {

    setImageServer:function (state,imageServer) {
      Vue.set(state,'imageServer',imageServer);
    },

    setProdCates:function (state,prodCates) {
      Vue.set(state,'prodCates',prodCates);
    }

  }
}
